<?php
/**
 * sitedefine.php
 * Created on 2015-03-25 09:52:19
 * Create by yuebin
 */
namespace haibao\cms\model\data\site;

class SiteDefine extends \haibao\cms\model\data\Base {

	
	const PC_SITE_ID = 55;
	const WAP_SITE_ID = 59;
	const STATUS_ENABLE = 1;
	const STATUS_DIS_ENABLE = 0;
	const DEFAULT_SITETYPE = 1;
	/**
	 * 站点名称
	 */
	public $SiteName;
	/**
	 * 站点URL
	 */
	public $SiteUrl;
	/**
	 * 站点状态
	 */
	public $Status = 1;
	public $SiteChannel = array();
	public function __construct() {
		parent::__construct();
		$this->stringField ( 'SiteName', 'SiteName', true );
		$this->stringField ( 'SiteUrl', 'SiteUrl', true );
		$this->intField ( 'Status', 'Status' );
		
		$this->setTableName ( 'SiteDefine' );
	}

}